<?php
/**
  * wechat php test
  */

require_once './config.php';
require_once './class/WeChat/WeChatService.php';

ini_set("log_errors", 1);

$service = new WeChatService();

$user = $service->getUserInfo("o2A4Aj5g2dOnI9wwY-lMYd0GULnY");

foreach ($user as $key => $value) {
	echo $key . " => " . $value . "<br>";	
}

?>
